package com.accp;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;

public class MyTag extends BodyTagSupport {
	private boolean test;
	
	public int doStartTag() throws JspException {
		if(true == test){
			return EVAL_BODY_INCLUDE;
		}
		return SKIP_BODY;
	}

	public boolean isTest() {
		return test;
	}

	public void setTest(boolean test) {
		this.test = test;
	}
}
